<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <title>申办食品经营许可证</title>
    <!-- head 中 -->
    <link rel="stylesheet" href="#(basePath)/static/jquery-weui/css/weui.min.css">
    <link rel="stylesheet" href="#(basePath)/static/jquery-weui/css/jquery-weui.min.css">
</head>
<body>
<body ontouchstart="">

<div class="weui-msg">
    <div class="weui-msg__icon-area"><i class="weui-icon-success weui-icon_msg"></i></div>
    <div class="weui-msg__text-area">
        <h2 class="weui-msg__title">提交成功</h2>
        <p class="weui-msg__desc">您已成功提交申办食品经营许可证，后续的审批工作我们将会以短信的形式推送到您的微信上，请留意东莞市东城街道食品药品监督管理分局公众号。<!--<a href="javascript:void(0);">详情点击</a>--></p>
    </div>
    <div class="weui-flex" style="width: 90%;background-color: #dedede;margin-left: 5%;padding-top:15px;padding-bottom:15px;font-size: 18px;">
        <div class="weui-flex__item" >申报流水号：<br>#(data.sblsh)</div>
    </div>
    <div class="weui-msg__opr-area">
        <p class="weui-btn-area">

            <a href="#(basePath)/toIndex" class="weui-btn weui-btn_primary">返回首页</a>
          <!--
            #if(sbcl==null||sbcl.filepath==null)
            <a id="sqb" c-data="1" href="javascript:;" class="weui-btn weui-btn_default weui-btn_loading">正在生成申请表...</a>
            #else
            <a id="sqb" c-data="2" href="#(basePath)/#(sbcl.filepath)" class="weui-btn weui-btn_primary">下载申请表</a>
            #end-->
        </p>
    </div>

    <div class="weui-msg__extra-area">
        <div class="weui-footer">
            #include("../main/footer.html")
        </div>
    </div>
</div>

<script>
    $(document).ready(function(){
        if(true){
            htmlobj=$.ajax({url:"#(basePath)/wfw/file/createSbxxFile",async:false});
           console.log(htmlobj.responseText);
         //  if(htmlobj.responseText.success){
               //$.toast(htmlobj.responseText.msg,"success");


            //   $("#sqb").attr("href","#(basePath)/"+htmlobj.responseText.data.FILEPATH);
            //   $("#sqb").attr("class","weui-btn weui-btn_primary");
          // }else{
              // $.toast(htmlobj.responseText.msg, "forbidden", function() {
                   //do something
              // });
         //  }
        }
    });
</script>
</body>
</html>